using AtomicCms.Common.IServices;
using AtomicCms.Services.Abstract;
using AtomicCms.Services.Concrete;
using StructureMap.Configuration.DSL;

namespace AtomicCms.Services.IoC
{
    public class ServiceRegistry : Registry
    {
        public ServiceRegistry()
        {
            For<IWidgetService>().Use<WidgetService>();
            For<IPageService>().Use<PageService>();
            For<IFileUploadService>().Use<FileUploadService>();
            For<IInfrastructureService>().Use<InfrastructureService>();
            For<IMenuService>().Use<MenuService>();
            For<ISeoService>().Use<SeoService>();
            For<ISettingService>().Use<SettingService>();
            For<IUserService>().Use<UserService>();
        }
    }
}